package com.yuyou.train.admin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.yuyou.train.service.api.admin.entity.AuthRoleResourceRelation;
@Mapper
public interface AuthRoleResourceRelationMapper {
    int deleteByPrimaryKey(String id);

    int insert(AuthRoleResourceRelation record);

    int insertSelective(AuthRoleResourceRelation record);

    AuthRoleResourceRelation selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AuthRoleResourceRelation record);

    int updateByPrimaryKey(AuthRoleResourceRelation record);

    int deleteByAuthRoleId(String authRoleId);

    List<AuthRoleResourceRelation> findRoleResourceRelationByAuthRoleId(String authRoleId);

    int batchInsertRoleResourceRelation(List<AuthRoleResourceRelation> authRoleResourceRelationList);
}